package com.jy.api.domain;

import com.jy.api.util.UuidUtil;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Data
@NoArgsConstructor
public class ProductTypeDayCount {
    @Id
    @Column(length = 50)
    private String id = UuidUtil.getUuid();
    private String storeId;
    private String typeName;
    private Date date;
    private BigDecimal amount;
    private long qty;
}
